-
Notifications
You must be signed in to change notification settings - Fork 4
[tool] add SimTool interface and implementations #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a52eff3 to
72c67a1
Compare
`sim_tools` module contains functions that provide tool support. This commit adds a `SimTool` `Protocol`, which clearly defines the functions required to support an EDA tool in DVSim. The functions found within the `sim_tools` module have been moved to vendor specific modules containing a `SimTool` implementation. Supported plugins can be retrieved with the `get_sim_tool_plugin` function. `sim_tools` has been refactored to use the plugin. Signed-off-by: James McCorrie <[email protected]>
Signed-off-by: James McCorrie <[email protected]>
Signed-off-by: James McCorrie <[email protected]>
72c67a1 to
7641798
Compare
gautschimi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's much cleaner, and could be easily extended for another tool.
|
Nice to have:
I think it used to be like this |
Signed-off-by: James McCorrie <[email protected]>
0e79518 to
b3ff5ba
Compare
hcallahan-lowrisc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this is much more structured.
|
Thanks! Merging this now as I'd like to get it in before the nightly runs this evening... |



Refactor the EDA tool support utilities into a more structured plug-in system, with clearly defined interface to make it easier to implement further tool support and test the existing tool support.
sim_toolsmodule to use the new plug-ins.Fixes: #55